package com.jobinn.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import net.sf.json.JSONArray;

import com.jobinn.JDOBean.User;
import com.jobinn.web.actionForm.LoginForm;
import com.jobinn.web.actionForm.MyUserForm;
import com.jobinn.web.actionForm.RegisterForm;

public interface UserService {
	public String loginProcess(LoginForm loginForm, HttpServletRequest request, HttpServletResponse response);
	public Object[] autoLoginValidate(String email1, String password);
	public int registerProcess(RegisterForm form, String sessionVercode);
	public Object[] getUserListByPage(int pageNumber, int pageSize);
	public boolean activateUser(String userid, int status);
	public Map<String,Object> userToMap(User user);
	public boolean saveMyUser(MyUserForm myUserForm, HttpServletRequest request);
}
